class FacebookCrawl < ActiveRecord::Base
  belongs_to :service    # foreign key - service_id
  has_one :facebook_data, :foreign_key => :crawl_id
  
  def data
    self.facebook_data
  end
  
  def data=(new_data)
    self.facebook_data = new_data
  end
  
  def create_data(args = {})
    create_facebook_data args
  end
  
end
